﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain
{
    /// <summary>
    /// 栋舍表
    /// </summary>
    public class Cottages:Aubuit
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int CottagesId { get; set; }
        /// <summary>
        /// 所在羊场
        /// </summary>
        public int FarmId { get; set; }
        /// <summary>
        /// 栋舍类型
        /// </summary>
        public int CottageTypeId { get; set; }
        /// <summary>
        /// 栋舍名称
        /// </summary>
        public string CottageName { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public int PersId { get; set; }
        /// <summary>
        /// 生产人员
        /// </summary>
        public int Production { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(100)]
        public string? Remark { get; set; }
    }
}
